package com.zuihai.app.mvp.model.api.my;

import com.zuihai.app.mvp.model.entity.BaseMainClass;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by Administrator on 2017/6/19 0019.
 */

public interface IDelete {
    //删除收藏
    @FormUrlEncoded
    @POST("Delect_shoucangInq")
    Observable<BaseMainClass> deleteCollect(@Field("tiaomu_id") String myID);

    //删除足迹
    @FormUrlEncoded
    @POST("Delect_ZujiInq")
    Observable<BaseMainClass> deleteFootprient(@Field("tiaomu_id") String myID);

    //删除我的发布--商品服务
    @FormUrlEncoded
    @POST("Delete_MyReleaseInq")
    Observable<BaseMainClass> deleteReleaseCommodity(@Field("tiaomu_id") String myID,
                                                     @Field("fenlei_Tag") int fenleiTag,
                                                     @Field("guangjie_fenlei_Tag") int guangjiFenleiTag);

    //删除我的发布--商品服务
    @FormUrlEncoded
    @POST("Delete_MyReleaseInq")
    Observable<BaseMainClass> deleteRelease(@Field("tiaomu_id") String myID,
                                            @Field("type") String  fenleiTag);

    //删除所有足迹
    @FormUrlEncoded
    @POST("Delect_AllZujiInq")
    Observable<BaseMainClass> deleteAllFootprint(@Field("my_id") String myID,
                                                 @Field("delete_Tag") int deleteTag);

    //删除所有收藏
    @FormUrlEncoded
    @POST("Delect_AllShoucangInq")
    Observable<BaseMainClass> deleteAllCollect(@Field("my_id") String myID,
                                               @Field("delete_Tag") int deleteTag);
}
